package com.example.demo.entity.two;

import org.hibernate.annotations.SQLDelete;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import java.sql.Timestamp;

/**
 * Created by 落羽 on 2017/8/17.
 * 静态数据继承此类，包含创建时间
 */
@MappedSuperclass
public class EntityBaseInfo {
    @Column(name = "add_time", columnDefinition = "datetime")
    private Timestamp addTime;

    public Timestamp getAddTime() {
        return addTime;
    }

    public void setAddTime(Timestamp addTime) {
        this.addTime = addTime;
    }

}
